import request from '@/utils/request'

// 查询简历-培训经历列表
export function listResumeTraining(query) {
  return request({
    url: '/training/resumeTraining/list',
    method: 'get',
    params: query
  })
}

// 查询简历-培训经历详细
export function getResumeTraining(id) {
  return request({
    url: '/training/resumeTraining/' + id,
    method: 'get'
  })
}

// 保存简历-培训经历
export function saveResumeTraining(data) {
  return request({
    url: '/training/resumeTraining/save',
    method: 'post',
    data: data
  })
}

// 删除简历-培训经历
export function delResumeTraining(id) {
  return request({
    url: '/training/resumeTraining/' + id,
    method: 'delete'
  })
}

// 导出简历-培训经历
export function exportResumeTraining(query) {
  return request({
    url: '/training/resumeTraining/export',
    method: 'get',
    params: query
  })
}
